package sg.edu.nus.iss.vmcs.store;

/*
 * Copyright 2011 ISS.
 * The contents contained in this document may not be reproduced in any
 * form or by any means, without the written permission of ISS, other
 * than for the purpose for which it has been supplied.
 *
 */

/**
 * This entity object  represents the generic object that is contained in 
 * a Store Item. 
 * @version 1.0  07/12/2011
 * @author Team 7S - SE19
 */
public class StoreObject {

	String name;
        
/**
 * This constructor creates a new instance of StoreObject.  
 */
	public StoreObject() {
	}

/**
 * Creates a new instance of StoreObject with a particular name.
 * @param n the name of the StoreObject.
 */
	public StoreObject(String n) {
		name = n;
	}

/**
 * This operation returns the name of the StoreObject. 
 * @return returns the name of the StoreObject.
 */
	public String getName() {
		return name;
	}
        
/**
 * This operation sets the name of the StoreObject. 
 * @param n the string name of the StoreObject.
 */
	public void setName(String n) {
		name = n;
	}
}